/**
 *Project: jh-framework
 *File: cn.xkshow.util.regex.ConstantRegex.java 
 *Author: hardy(admin@xkshow.cn) Copyright
 ****************************************************************
 *   VERSION       DATE            BY       CHANGE/COMMENT
 * --------------------------------------------------------------
 *    1.0        2013-7-5         hardy         create
 ****************************************************************
 *note:
 ***************************************************************/ 
package cn.xkshow.util.regex;

public class ConstantRegex {
	/*
	 * WebTags
	 */	
	static String REGEX_WebTag_HTML = "<[^>]+>"; 
	static String REGEX_WebTag_SCRIPT = "<script[^>]*?>[\\s\\S]*?<\\/script>"; 
	static String REGEX_WebTag_STYLE = "<style[^>]*?>[\\s\\S]*?<\\/style>"; 
	
	/*
	 * FieldValidation
	 */
	static String REGEX_FieldValidation_MobileNo = "(13|15|18)(\\d{9})"; 
	static String REGEX_FieldValidation_TPhoneNo = "((\\(\\d{3}\\))|(\\d{3}\\-))?(\\(0\\d{2,3}\\)|0\\d{2,3}-)?[1-9]\\d{6,7}";//AreaCode'-'tel 
	static String REGEX_FieldValidation_PASNo = "0\\d{10,11}"; 
	static String REGEX_FieldValidation_Email = "\\w+((-\\w+)|(\\.\\w+))*\\@[A-Za-z0-9]+((\\.|-)[A-Za-z0-9]+)*\\.[A-Za-z0-9]+"; 
}
